import React from 'react';
import { BrowserRouter as Router, Route, Switch } from 'react-router-dom';
import Index from '../Compontent/index';
import Login from '../App'

const RouterList = () => {
  return (
    <Router>
      <Switch>
        <Route exact path="/" component={Login}></Route>
        <Route  exact path="/index" component={Index} />
      </Switch>
    </Router>
  );
};
export default RouterList;
